package com.hzf.ucenter.rpc.api;

import com.hzf.ucenter.dao.model.*;

import java.util.List;

public interface UcenterApiService {

    UcenterUserOauth insertOauth(UcenterUserOauth ucenterUserOauth);
    UcenterUserOauth slectOauth(String openid);
    UcenterUser insertUser(UcenterUser ucenterUser);
    UcenterUser selectUser(int userThirdId);
    UcenterUserAuth insertUserAuth(UcenterUserAuth ucenterUserAuth,int typeStatus);
    UcenterAuthBusiness insertUserAuthBusiness(UcenterAuthBusiness ucenterAuthBusiness);
    UcenterAuthType insetUcenterAuthType(UcenterAuthType ucenterAuthType);
    UcenterAuthInfo insetUcenterAuthInfo(UcenterAuthInfo ucenterAuthInfo);
    List<UcenterUserAuth> selectUcenterUserAuth(UcenterUserAuthExample ucenterUserAuthExample);
    List<UcenterAuthInfo> selectUcenterAuthInfo(UcenterAuthInfoExample ucenterAuthInfoExample);
    int update(UcenterUser ucenterUser);
    UcenterUser selectRegionUser(int id,int state);
    int insertCity(UcenterUserCity ucenterUserCity);
    UcenterUserOauth selectOuthEx(UcenterUserOauthExample example);
    List<UcenterUserCity> selectUserCity(UcenterUserCityExample ucenterUserCityExample);
    UcenterUserCity getUserCity(UcenterUserCityExample ucenterUserCityExample);
    UcenterUser getUser(UcenterUserExample example);
    int updateCity(UcenterUserCity ucenterUserCity);


}
